//package com.wb.designmode.test.spring;
//
//import com.wb.App;
//import com.wb.service.Animal;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.beans.factory.annotation.Qualifier;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//@RunWith(SpringRunner.class)
//@SpringBootTest(classes={App.class})// 指定启动类
//public class One {
//
//    private final Logger logger = LoggerFactory.getLogger(One.class);
//
//    @Autowired
//    @Qualifier(value = "cat")
//    private Animal cat;
//
//    @Autowired
//    @Qualifier(value = "dog")
//    private Animal dog;
//
//    @Test
//    public void run() {
//        logger.info("cat : {} , dog : {}", cat , dog);
//    }
//}